package org.clearjerk.model.worldgen.tiles;

import java.awt.Color;

public class WaterTile extends Tile{
	
	private String name;
	private boolean passable;
	private boolean isLiquid;
	private Color color;

	public WaterTile(int colorflux) {
		name = "WaterTile";
		passable = true;
		isLiquid = true;
		color = new Color(0,0,250+colorflux);
	}
	
	public Color getColorFlux() {
		return color;
	}

	public void setColor(Color colorFlux) {
		this.color = colorFlux;
	}
	public String getName() {
		return name;
	}
	
	public boolean isLiquid() {
		return isLiquid;
	}
	
	public boolean getPassType() {
		return passable;
	}
}
